Close
dtSearch Engine API for .NET Framework 2.x-4.x 2024.01
SearchResults::SetSortKey Method

Set the sort key for the currently-selected document.

public void SetSortKey( ref String newKey );

SetSortKey provides a way to assign a string to each item in search results to use as a sort key. After each item has been assigned a sort key, call Sort(SortFlags.dtsSortBySortKey) to sort SearchResults by the assigned keys.